<script setup lang="ts">
defineProps({
  showIcon: {
    type: Boolean,
    default: true,
  },
});
</script>
<template>
  <div class="flex items-center bg-amber-300 p-3 rounded">
    <img
      src="/console/exclaimation-circle.png"
      alt=""
      class="w-5 h-5 mr-2"
      v-if="showIcon"
    />
    <p class="mb-0 font-bold text-sm">
      <slot />
    </p>
  </div>
</template>
